Skip to content

chore(deps): update aura/session requirement from ^2.1 || ^4.0 to ^7.0.0 - #40

Closed
dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/aura/session-tw-7.0.0
Closed

dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/aura/session-tw-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 29, 2026

Copy link
Copy Markdown

Updates the requirements on aura/session to permit the latest version.

Release notes

Sourced from aura/session's releases.

7.0.0

  • (CHG) PhpredisClient::del() no longer checks for UNLINK support before using it, so RedisSessionHandler with that adapter now requires a Redis 4.0 or later server. The DEL fallback was untestable dead weight: Redis::unlink() has existed since phpredis 4.0.0, and every phpredis build that supports the PHP 8.4 this package requires is far newer than that. PredisClient::del() still issues DEL, because predis is pure PHP and only registered the UNLINK command in 3.5.0, while the adapter supports predis ^2.0 || ^3.0.
  • (ADD) Add RedisSessionHandler, an optional SessionHandlerInterface implementation that stores each session as a single Redis string with a key TTL (the approach used by Symfony, Laravel, and the phpredis native handler). It refreshes only the TTL when data is unchanged (lazy_write), destroys empty sessions, and leaves expiry to Redis. It is decoupled from any specific client via Aura\Session\Redis\RedisClientInterface, with bundled PhpredisClient (ext-redis) and PredisClient (predis/predis) adapters. No hard Redis-client dependency: ext-redis and predis/predis are listed under suggest.
  • (ADD) Add Segment::getFlashAll() and Segment::getFlashNextAll(), which return every flash value for the current or the next request, so flash messages can be rendered without knowing their keys. Both return an empty array when nothing is set. Originally proposed by Jake Johns in #47/#52.
  • (ADD) Depend on the new aura/session-interface (^7.0) package, which provides the shared session/segment contracts.
  • (CHG) Session now implements Aura\Session_Interface\SessionInterface.
  • (CHG) SegmentInterface no longer declares its own methods; it now composes the shared Aura\Session_Interface\SegmentInterface (get/set), ManageableSegmentInterface (getSegment/clear/remove), and FlashSegmentInterface (flash values). The full method set is unchanged, so existing implementations remain compatible.
  • (CHG) Add native return types (bool, mixed, void) to Session::start()/resume()/regenerateId() and to all Segment methods. This is a BC break for subclasses that override these methods without declaring matching return types.
Changelog

Sourced from aura/session's changelog.

7.0.0

  • (CHG) PhpredisClient::del() no longer checks for UNLINK support before using it, so RedisSessionHandler with that adapter now requires a Redis 4.0 or later server. The DEL fallback was untestable dead weight: Redis::unlink() has existed since phpredis 4.0.0, and every phpredis build that supports the PHP 8.4 this package requires is far newer than that. PredisClient::del() still issues DEL, because predis is pure PHP and only registered the UNLINK command in 3.5.0, while the adapter supports predis ^2.0 || ^3.0.
  • (ADD) Add RedisSessionHandler, an optional SessionHandlerInterface implementation that stores each session as a single Redis string with a key TTL (the approach used by Symfony, Laravel, and the phpredis native handler). It refreshes only the TTL when data is unchanged (lazy_write), destroys empty sessions, and leaves expiry to Redis. It is decoupled from any specific client via Aura\Session\Redis\RedisClientInterface, with bundled PhpredisClient (ext-redis) and PredisClient (predis/predis) adapters. No hard Redis-client dependency: ext-redis and predis/predis are listed under suggest.
  • (ADD) Add Segment::getFlashAll() and Segment::getFlashNextAll(), which return every flash value for the current or the next request, so flash messages can be rendered without knowing their keys. Both return an empty array when nothing is set. Originally proposed by Jake Johns in #47/#52.
  • (ADD) Depend on the new aura/session-interface (^7.0) package, which provides the shared session/segment contracts.
  • (CHG) Session now implements Aura\Session_Interface\SessionInterface.
  • (CHG) SegmentInterface no longer declares its own methods; it now composes the shared Aura\Session_Interface\SegmentInterface (get/set), ManageableSegmentInterface (getSegment/clear/remove), and FlashSegmentInterface (flash values). The full method set is unchanged, so existing implementations remain compatible.
  • (CHG) Add native return types (bool, mixed, void) to Session::start()/resume()/regenerateId() and to all Segment methods. This is a BC break for subclasses that override these methods without declaring matching return types.

6.0.0

  • PHP 8.4+ is now required.
  • (CHG) Add string type declarations to $key parameters in Segment, SegmentInterface to fix PHP 8.5 deprecation of null as array offset.
  • (CHG) Change remove() parameter to ?string $key = null in Segment and SegmentInterface.

4.0.0

  • PHP 7.2+ is now required.
  • Github CI workflow added.
  • Scrutinizer CI updated.
  • MIT License.

2.1.0

  • (ADD) Add support for hash_equals() in CsrfToken::isValid()
  • (ADD) Add support for random_bytes() in Randval::generate()
  • (TST) Update tests and test support files
  • (DOC) Update license year and remove branch alias

2.0.1

This release modifies the testing structure and updates other support files.

2.0.0

This is the first stable release of Aura.Session 2.0.0.

  • Fix #23

  • Merge pull request #33 from harikt/issue-23.

  • Merge pull request #35 from iansltx/php7-compat: Fix FakeSessionHandler::write() (fixes PHP7 tests)

  • Merge pull request #36 from fiahfy/spike: fix param type

  • Merge pull request #37 from tomkyle/develop-2: Removed redundant paragraph

  • Merge pull request #38 from tomkyle/develop-2: Clarified parameter descriptions

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [aura/session](https://github.com/auraphp/Aura.Session) to permit the latest version.
- [Release notes](https://github.com/auraphp/Aura.Session/releases)
- [Changelog](https://github.com/auraphp/Aura.Session/blob/7.x/CHANGELOG.md)
- [Commits](https://github.com/auraphp/Aura.Session/commits/7.0.0)

---
updated-dependencies:
- dependency-name: aura/session
  dependency-version: 7.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Nov 29, 2026
@codecov

codecov Bot commented Nov 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.89%. Comparing base (9e02c5c) to head (9e90f18).

Additional details and impacted files
@@            Coverage Diff            @@
##                1.x      #40   +/-   ##
=========================================
  Coverage     94.89%   94.89%           
  Complexity       76       76           
=========================================
  Files            15       15           
  Lines           196      196           
=========================================
  Hits            186      186           
  Misses           10       10           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@koriym

koriym commented Nov 29, 2026

Copy link
Copy Markdown
Member

Closing: Aura 7 requires PHP ^8.4, while 1.x supports PHP 8.0+. Replacing the constraint drops PHP 8.0–8.3, and aura/input 7 and aura/filter 7 also change APIs this package depends on. Aura 7 support will be handled together in a single 2.0 PR.

@koriym koriym closed this Nov 29, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 29, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/composer/aura/session-tw-7.0.0 branch November 29, 2026 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant